let  bannerModel  = require("../model/banner");

module.exports = {
        add:(list)=>{
            return  bannerModel.insertMany(list)
        },
        query:(params)=>{
            return  bannerModel.find(params);
        },
        del:(params)=>{
            return   bannerModel.deleteOne(params);
        }

}